Repository navigation
feat(helm): set tool approval on the muster MCPServer - #359
Conversation
Render spec.approval on the chart's MCPServer from muster.mcpServer.approval and write out every tool of this release explicitly, with the "Allow all" preset (rule Allow, every tool Allow): a platform management server whose tools the Dev Portal and agents use freely; agent callers are still asked by muster's floors and the governance mode. Installations tighten per tool.
Published Helm chart
|
| Chart | cluster-manager |
| Version | 0.39.10-r27740a5ft20261130173750h0cf54cd |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager:0.39.10-r27740a5ft20261130173750h0cf54cd |
| Digest | sha256:76f74399131842dd1fa9a8877d7bbd69897130a0f2422f7e7dbef8a4757a07e0 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager --version 0.39.10-r27740a5ft20261130173750h0cf54cdPosted by architect-orb · build 5677 · commit 0cf54cd · updated in place on every push
Review recordPart of giantswarm/giantswarm#38902 (tool approval, milestone 1). Purpose: this record says what was reviewed on this branch (the chart's per-tool approval defaults for its MCPServer registered with muster: Read this first
Review rounds
What was checked
The schema carries a per-tool enum: a new tool must be added to the schema and the values together. Findings
Drift test: Lab verificationThis chart was not rendered in the agentlab runs: they used the released component charts (agent-manager is the exception, see its record). Rendering, schema and the per-tool map are covered by the checks above. The governed behaviour for this server (safe list, floors) is a property of the platform chart and muster, which were exercised in the lab; this server itself did not run there. Open itemsFindings still open or partly fixed: none; every finding of this repository is closed. Remaining notes:
Never run:
|
Review supplement for giantswarm/giantswarm#38902Reviewed head: SpecThe platform-management connector intentionally ships explicit Allow entries plus an Allow fallback. Governed safe lists and built-in muster floors remain additional restrictions; destructive Allow entries alone are not a spec violation. Install only after muster's CRD supports spec.approval. This is a scoped contract assessment, not an exhaustive numbered acceptance score. Independent focused specification cross-checks covered the core enforcement/client contracts and platform/manager integration. Declared follow-ups and accepted design changes are not counted as new defects. BlockingNo new blocking code finding established in this pass. Non-blockingNone newly established. SuggestionsNone beyond the existing review follow-ups. Deep verification
Reported checks passed or were skipped; no failed/cancelled check to triage. A skipped job is not evidence that its gate ran. Unverified locally: applicable builds, tests (including race/integration/envtest), vet, formatting/lint/pre-commit, generators, Makefile verification targets, Helm rendering/schema/unit checks, and browser/live-cluster flows. No PR code was executed. GitHub-reported CI provides supporting evidence, not a local reproduction. Recommendation: merge as-is within this review's scope, subject to existing release-order/rollout prerequisites and previously documented open items. Team context: none. |
Review record — merge of main before releaseMerge
|
…, as agent-manager does
Part of giantswarm/giantswarm#38902. The review record is the first comment on this PR.
What does this PR do?
muster now decides Allow, Ask or Block for every tool call (giantswarm/muster, linked below). A connector without settings is "not reviewed" and runs unasked. This PR makes Cluster Manager's chart say it explicitly:
muster.mcpServer.approvalrendersspec.approvalon the musterMCPServerwithrule: Allowand one entry per tool (11 tools, allAllow, the same effect as today). 11 tools, allAllow, ruleAllow. The schema carries a per-tool enum: a new tool must be added to the schema and values together.values.schema.json(ruleand tools:Allow,Ask,Block; at most 512 tools); aruleofBlockhides tools added later until someone sets them.muster.mcpServer.approval: nullclears the default and renders nospec.approval.{}does not: Helm merges an empty map into the default (README says so).Commits:
317d3eb(the value, template, schema, chart tests),5edaf2a,805fe8f,652a692(Block rule, README, tests);b561e13(milestones 2 and 3: the values comment, schema description and README link the tool approval concept page as optional further reading);b980b84(docs condensed).What is the effect of this change to users?
None by itself: every tool stays
Allow. The settings become visible and editable in the portal's connector Tools tab once muster carries tool approval.How does it look like?
Not a visual change. Rendered
MCPServer:Changes from the plan
Where this PR differs from the design in the epic (giantswarm/giantswarm#38902):
rule: Block. The chart value and schema acceptBlockas the rule for tools without their own entry, in addition toAllowandAsk.Any background context you can provide?
MCPServersets its approval explicitly).spec.approval. An older CRD prunes the field (the API server warns) and a later muster upgrade does not re-apply it: after the CRD upgrade runflux reconcile helmrelease <name> -n <ns> --force. Until then muster treats the connector as not reviewed (Allow). muster refuses server tool calls while its served CRD lacks the field.Related pull requests (milestones 1 to 3)
What is needed from the reviewers?
trustedplatform (the PRD says it is).Do the docs need to be updated?
Done: README row for
muster.mcpServer.approvaland the values comment (governed default,Block,nullversus{}).Testing
helm linthelm templatedefault,approval=null,rule=Block,rule=Deny,tools.bogus=maybeBlockrenders; the others refused by the schema, naming the pathhelm/cluster-manager/tests/helm unittestnot run (plugin not installed on the reviewers' machine), cases reproduced withhelm templateinternal/api/helm_approval_test.go(652a692) compares the chart's approval map with the server's registered tool names. It passed in the agentlab re-test on macOS. CI runs it.Helm v4.3.2. Not exercised in the first agentlab run (its agent-manager was pinned to 3.4.0 and did not use this chart's defaults). The agentlab re-test (2026-11-25,
lab-tests/m1-retest.md) passed with no blocking defects; it ran this repo's drift test (see above). The milestone 2 and 3 lab runs (2026-11-26,lab-tests/m2-integration.md,m3-integration.md) ran the platform with tool approval per agent and the agent chart 3.x move; they did not exercise this chart's defaults.